import {viteBundler} from '@vuepress/bundler-vite'
import {defaultTheme} from '@vuepress/theme-default'
import {defineUserConfig} from 'vuepress'

export default defineUserConfig({
    bundler: viteBundler(),
    base: '/wu-framework-parent/',
    // 站点配置
    lang: 'zh-CN',
    title: '你好， wu-framework-parent ！',
    description: '你好， wu-framework-parent ！',
    // 主题和它的配置
    theme: defaultTheme({
        // URL
        logo: 'https://vuejs.org/images/logo.png',
        navbar: [
            {
                text: '首页',
                link: '/',
            },
            // NavbarItem
            {
                text: 'Lazy ORM',
                link: '/wu-lazy-orm/README.md',
                children: [{
                    text: '1.2.1以下版本',
                    link:'/wu-lazy-orm/README.md',
                },{
                    text: '1.2.5-JDK17',
                    link: '/wu-lazy-orm/1.2.5-JDK17-README.md'
                }],
            },
            {
                text: 'Excel操作',
                link: '/wu-easy-excel/README.md',
            },
            {
                text: '授权',
                link: '/wu-framework-authorization/README.md',
            },
            {
                text: '插件',
                link: '/wu-framework-plus/README.md',
            },
            {
                text: 'ACW',
                children: [{
                    text: 'ACW服务端',
                    link: '/wu-smart-acw/acw-server/README.md',
                },{
                    text: 'ACW客户端',
                    link: '/wu-smart-acw/acw-client/ACW_CLIENT_README.md',
                }],
            },
            {
                text: '内网穿透',
                link: '/wu-lazy-cloud-network/README.md',
                children: [{
                    text: '内网穿透服务端',
                    link: '/wu-lazy-cloud-network/agent-server/README.md',
                },{
                    text: '内网穿透客户端',
                    link: '/wu-lazy-cloud-network/agent-client/README.md',
                }],
            },
            {
                text: '个人架构文档',
                children: [{
                    text: '混合云saas生态链',
                    link: '/architecture/saas/Hybrid_cloud_SaaS_ecosystem.md',
                },{
                    text: 'Java混合云离线网关架构设计',
                    link: '/architecture/hybrid_cloud_offline_gateway/Design_of_Java_hybrid_cloud_offline_gateway_architecture.md',
                },{
                    text: 'Java对接第三方离线网关架构设计',
                    link: '/architecture/third_party_offline_gateway/Design_of_Java_Docking_Third_Party_Offline_Gateway_Architecture.md',
                }],
            },
            {
                text: '更新日志',
                link: '/wu-framework-update-log/README.md',
            },

        ],

    }),
    locales: {
        // '/': {
        //     lang: 'en-US',
        //     title: '你好， wu-framework-parent ！',
        //     description: '你好， wu-framework-parent ！',
        // },
        '/': {
            lang: 'zh-CN',
            title: '你好， wu-framework-parent ！',
            description: '你好， wu-framework-parent ！',
        },
    },
})

